#ifndef __DRV_TIM_16B_H
#define __DRV_TIM_16B_H

#define TIM_PORT                TIM3
#define TIM_IRQn                TIM3_IRQn
#define TIM_IRQHandler          TIM3_IRQHandler
#define TIM_CLK_EN()            RCC_EnableAPB1Periphs(RCC_APB1_PERIPH_TIM3, true)

#define PWM_PIN                 GPIO_PIN_6
#define PWM_PORT                GPIOC
#define PWM_GPIO_CLK_EN()       RCC_EnableAHB1Periphs(RCC_AHB1_PERIPH_GPIOC, true)
#define PWM_CHANNEL             TIM_16B_CHN_1 /* CH1. */
void Drv_PWM_Init(void);

#endif /* __DRV_TIM_16B_H */
